package com.liufei1988.design.singleton;

public enum  EnumInstance {
    INSTANCE;
    //声明一个Object类型的成员变量
    private Object data;

    //setter、getter方法
    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
